Package com.cisco.pt.ipc.sim.impl
Class CommandPrivilegeImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.CommandPrivilegeImpl
- All Implemented Interfaces:
IPCData,CommandPrivilege
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBAll()intgetLevel()voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetBAll(boolean bAll) voidsetCommand(String command) voidsetLevel(int level) Methods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVector
-
Field Details
-
command
-
bAll
protected boolean bAll -
level
protected int level
-
-
Constructor Details
-
CommandPrivilegeImpl
public CommandPrivilegeImpl()
-
-
Method Details
-
getCommand
- Specified by:
getCommandin interfaceCommandPrivilege- Returns:
- String Returns a String
-
setCommand
- Specified by:
setCommandin interfaceCommandPrivilege- Parameters:
command- Takes in a parameter of command
-
getBAll
public boolean getBAll()- Specified by:
getBAllin interfaceCommandPrivilege- Returns:
- boolean Returns a boolean
-
setBAll
public void setBAll(boolean bAll) - Specified by:
setBAllin interfaceCommandPrivilege- Parameters:
bAll- Takes in a parameter of bAll
-
getLevel
public int getLevel()- Specified by:
getLevelin interfaceCommandPrivilege- Returns:
- int Returns a int
-
setLevel
public void setLevel(int level) - Specified by:
setLevelin interfaceCommandPrivilege- Parameters:
level- Takes in a parameter of level
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Specified by:
readin classIPCDataImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-